﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{

    public partial class UserSpread
    {
        public const string TABLE_NAME = "UserSpread";
        public const string INSERT_SQL = "insert into UserSpread([ID],[UserID],[FromUserID],[RechargeType],[Remark],[Value],[DateTime],[FromUserName]) values (@ID,@UserID,@FromUserID,@RechargeType,@Remark,@Value,@DateTime,@FromUserName)";
        public const string UPDATE_SQL = "UPDATE UserSpread SET [ID]=@ID,[UserID]=@UserID,[FromUserID]=@FromUserID,[RechargeType]=@RechargeType,[Remark]=@Remark,[Value]=@Value,[DateTime]=@DateTime,[FromUserName]=@FromUserName where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int FromUserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int RechargeType
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Remark
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Value
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime DateTime
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string FromUserName
        {
            get;
            set;
        }
    }
}
